package vn.isolar.NLP;

import vn.isolar.object.Command;

public class AnswerGenerate {
	/*
	 * Type of command
	 * 1 - Direction
	 * 2 - Location
	 * 3 - SMS
	 * 4 - Set alarm, calendar 
	 */
	private int type;			//Type of command
	private String tmpAlarm = "Hẹn giờ lúc ***";
	private String tmpSms = "Nhắn tin cho *** nội dung ***";
	private String tmpDirection = "Dẫn đường đến *** ";
	private String tmpLocation = "Bạn đang ở ***"; 
	private String time;
	public AnswerGenerate(Command cmd){
			switch (cmd.getType()) {
			case 4:
				
				break;

			default:
				break;
			}
	}
	public String generate(){
		String result = "";
		switch (type) {
		case 1:
			
			break;
		case 4:
			result = tmpAlarm.replace("***", time);
			break;
		default:
			break;
		}
		return result;
	}
}
